%include "io.inc"

section .text
global main
main:
    mov eax, 0
    mov ecx, 5
    loop loop_do_sth

loop_do_sth:
    inc eax ; eax++
    cmp eax, 3
    jg end_loop ; if eax > 3, then end loop
    loop loop_do_sth

end_loop:
    PRINT_DEC 4, eax; 4
    NEWLINE
    PRINT_DEC 4, ecx; 1
    xor eax, eax
    ret